{% load menu_tags %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>订单管理系统</title>
    <link rel="icon" href="/static/img/favicon.ico">
    <link rel="stylesheet" href="/static/plugins/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/css/menu.css">
    <link rel="stylesheet" href="/static/plugins/font-awesome-4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="/static/css/common.css">

    {% block css %}

    {% endblock %}
</head>
<body>
<div class="nav">
    <div class="nav-left">
        <a style="font-size: 20px; padding-left: 10px; line-height: 48px; color: black; text-decoration: none;"
           href="/home.html">NB订单管理系统</a>
    </div>
    <div class="nav-right">
        <a href="#" class="avatar" style="text-decoration: none;">
            <span style="font-size: 20px; padding-left: 10px; line-height: 48px;">{{ request.user_obj.username }}</span>
            <i class="fa fa-user-circle fa-2x" style=""></i>
        </a>
        <div class="more-info">
            <a href="/logout.html" class="more-item">注销</a>
            <a href="/logout.html" class="more-item">详细信息</a>
        </div>
    </div>
</div>

<div class="body">
    <div class="body-left">
        {% my_template request %}
    </div>
    <div class="body-right">
        <div>
            {#        路径导航.可以放到inclusion_tag中添加更多的功能#}
            <ol class="breadcrumb">
                {% for item in request.user_obj.menu_list %}
                    <li><a href="#">{{ item }}</a></li>
                {% endfor %}
            </ol>
            {% block content %} {% endblock %}
        </div>
        <div style="width:407px;margin:0 auto; padding:20px 0;">
                <a href="https://beian.miit.gov.cn/" target="_blank">
                    <img src="/static/img/备案图标.png" style="float:left;">
                    <p style="float:left;margin: 0px 0px 0px 5px;color:#939393;">皖ICP备2023006947号</p>
                </a>
                <p style="float:left;margin: 0px 0px 0px 5px;color:#939393;">|&nbsp&nbsp</p>
                <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=34018102340737" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
                    <img src="/static/img/备案图标.png" style="float:left;"/>
                    <p style="float:left;height:20px;margin: 0px 0px 0px 5px; color:#939393;">皖公网安备 34018102340737号</p>
                </a>
            </div>
    </div>

</div>


<script src="/static/js/jquery.min.js"></script>
<script src="/static/plugins/bootstrap/js/bootstrap.min.js"></script>
<script src="/static/js/menu.js"></script>
{% block js %}{% endblock %}
</body>
</html>